/*
 * CartesianCoordinate.h
 *
 *  Created on: 04-Sep-2014
 *      Author: ali
 */

#ifndef CARTESIANCOORDINATE_H_
#define CARTESIANCOORDINATE_H_
#include <math.h>
#include <iostream>
using namespace std;
class Coordinate
{
	double m_nXPos;
	double m_nYPos;
public:
	Coordinate();
	Coordinate(double x, double y);
	const double GetXPos();
	const double GetYPos();
	double GetDistance(Coordinate remoteObject);
	friend ostream & operator<<(ostream &out, Coordinate&);
	~Coordinate();
};

#endif /* CARTESIANCOORDINATE_H_ */

